import service from "@/request/index";
//login
export function toLogin(params:any){
    return service(
        {
            url:"login",
            method:"post",
            params
        }
    )
}
//register
export function toRegister(params:any){
    return service(
        {
            url:"register",
            method:"post",
            params
        }
    )
}

